import request from "../utils/axios";

export default {
  getSwipe: (): any => request.get("/api/banners.json"),

  getList: (data: any): any =>
    request.get("/api/db/in_theaters", { params: data }),

  getBanner: (data: any): any =>
    request.get("/api/db/in_theaters", { params: data }),

  getSoon: (data: any): any =>
    request.get("/api/db/coming_soon", { params: data }),

  getDetail: (id: any): any => request.get("/api/db/movie_detail/" + id),
};
